package com.syni.mdd.sjb.community.base.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.syni.mdd.sjb.common.component.mybatis.community.entity.SjbQywxAdminRoleRelation;

import java.util.Map;
import java.util.Set;

/**
 * <p>
 * 管理后台角色关系表 服务类
 * </p>
 *
 * @author lcc
 * @since 2021-02-23
 */
public interface SjbQywxAdminRoleRelationService extends IService<SjbQywxAdminRoleRelation> {

    SjbQywxAdminRoleRelation getQywxAdminId(Integer id);

    void syncAdminRoleRelationInfomation(Integer adminId, Integer qywxAdminRoleId);

    Map<Integer,SjbQywxAdminRoleRelation> getQywxAdminIds(Set ids);

    void deleteAdminRolelations(Set<Integer> adminIds);

    void addCompanyAdminOrPlatformMan(String corpid, Integer id);
}
